package com.lizheng.yunservice.travel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lizheng.yunservice.travel.doamin.CulturalWork;
import com.lizheng.yunservice.travel.doamin.vo.CulturalWorkVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CulturalWorkMapper extends BaseMapper<CulturalWork> {
    /**
     * 查询文创图片（固定条件：recordType='cultural'且resourceType=4）
     */
    Page<CulturalWorkVo> selectCulturalWorkImagePage(
            Page<CulturalWorkVo> page,
            @Param("scenicId") Long scenicId
    );
}